<?php

namespace app\User\model;

use think\Model;

class User extends Model
{
    //
    protected $table = 'user';
    //添加管理员信息
    public static function userAdd($data)
    {
        return self::create($data);
    }
    //分页展示
    public static function userList()
    {
        return self::paginate('3');
    }
}
